﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Yqd.Models
{
    public class Yqd_Unit
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        [DisplayName("部门编号")]
        [StringLength(50)]
        public string UnitCode { get; set; }

        [DisplayName("浙政钉部门编号")]
        [StringLength(50)]
        public string OrganizationCode { get; set; }

        [DisplayName("部门名称")]
        [StringLength(50)]
        public string Name { get; set; }

        [DisplayName("领导")]
        [StringLength(50)]
        public string Leader { get; set; }


        public int Tactic { get; set; }

    }


    public class Unit
    {
        public string UnitCode { get; set; }
        public string Name { get; set; }
        public int Tactic { get; set; }
    }
}
